package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 巡航组合信息表
 * @TableName sys_cruise_device
 */
@Data
@TableName(value ="sys_cruise")
@ApiModel("巡航设备模型")
public class SysCruise implements Serializable {

    @TableId
    private Integer id;

    @ApiModelProperty("巡航组合名称")
    private String cruiseName;

    @ApiModelProperty("状态，0-停用，1-启用，2-删除")
    private Integer state;

    @ApiModelProperty("创建时间")
    private Date createdTime;

    @ApiModelProperty("纬度")
    private String latitude;

    @ApiModelProperty("经度")
    private String longitude;

    @ApiModelProperty("船只mqtt标识")
    private String topic;

    @TableField(exist = false)
    @ApiModelProperty("巡航设备列表集合")
    private List<SysDeviceInfo> devicelist;

    @ApiModelProperty("在线状态，0-不在线，1-在线")
    private Integer online;

    @ApiModelProperty("1:智能无人船  2:遥控无人船")
    private Integer cruiseType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
